package com.twetec.cms.model.po.system;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.twetec.cms.model.po.base.BasePO;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhxl
 * @since 2021-03-16
 */
@TableName("SYSTEM_API_WHITE_LIST")
public class SystemApiWhiteListPO extends BasePO {

    private static final long serialVersionUID=1L;

    /**
     * 名称
     */
    @TableField("NAME")
    private String name;

    /**
     * key_id
     */
    @TableField("KEY_ID")
    private String keyId;

    /**
     * KeySecret
     */
    @TableField("KEY_SECRET")
    private String keySecret;

    /**
     * 状态
     */
    @TableField("status")
    private Integer status;

    /**
     * 备注
     */
    @TableField("REMARK")
    private String remark;

    /**
     * IP地址(白名单IP地址列表)
     */
    @TableField("IP_ADDR_LIST")
    private String ipAddrList;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getKeyId() {
        return keyId;
    }

    public void setKeyId(String keyId) {
        this.keyId = keyId;
    }

    public String getKeySecret() {
        return keySecret;
    }

    public void setKeySecret(String keySecret) {
        this.keySecret = keySecret;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getIpAddrList() {
        return ipAddrList;
    }

    public void setIpAddrList(String ipAddrList) {
        this.ipAddrList = ipAddrList;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "SystemApiWhiteListPO{" +
                "name='" + name + '\'' +
                ", keyId='" + keyId + '\'' +
                ", keySecret='" + keySecret + '\'' +
                ", status='" + status + '\'' +
                ", remark='" + remark + '\'' +
                ", ipAddrList='" + ipAddrList + '\'' +
                '}';
    }
}
